﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dpmagnet.Models
{
    class MUsers
    {
    }

    public class MUser
    {
        public int UserID { get; set; }
        public string Name { get; set; }
        public string LoginID { get; set; }
        public DateTime RegisteDate { get; set; }
        public DateTime LastLogin { get; set; }
        public UserRole Role { get; set; }
        public int TotalImages { get; set; }
        public int TotalPosts { get; set; }
        public MUserDetail Detail { get; set; }
    }

    public enum UserRole
    {
        Admin,
        Photographer,
        Editor,
        Model,
        Normal
    }

    public class MUserDetail
    {
        public int UserID { get; set; }
        public DateTime Dob { get; set; }
        public string Intro { get; set; }
    }
}
